<template>
  <div id="app">
    <template>
      <div class="header">
        <img class="logo" src="./assets/logo-hewa.png" alt="logo" />
        <span class="title">--> 前端监控</span>
      </div>
      <nav>
        <!-- <router-link to="/">Home</router-link> | -->
        <!-- <router-link to="/about">About</router-link> -->
      </nav>
      <router-view />
    </template>
  </div>
</template>

<style lang="scss">
#app {
  padding: 0 10px;

  .header {
    display: flex;
    align-items: center;
    height: 100px;
    justify-content: center;
    border-bottom: 1px solid #2c3e50;
    margin-bottom: 20px;
    .logo {
      width: 70px;
      height: 42px;
    }
    .title {
      margin-left: 10px;
      font-weight: bold;
      font-size: 30px;
      color: #42b989;
      box-shadow: #2c3e50;
    }
  }
}
</style>
